Morocco plans to re-legalize cryptocurrencies after imposing a blanket ban on cryptocurrency trading in 2017.